﻿using xjjxmm.infrastructure.repository.attribute;

namespace XjjXmm.Message.Service.Model;

[XjjXmmTable("TOPIC")]
public class TopicEntity 
{
    /// <summary>
    /// 主题的id
    /// </summary>
    [XjjXmmColunm(ColumnName = "CODE", IsPrimaryKey = true)]
    public string Code { get; set; } 

    /// <summary>
    /// 主题描述
    /// </summary>
    [XjjXmmColunm(ColumnName = "NAME")]
    public string Name { get; set; }

    /// <summary>
    /// 客户端CODE
    /// </summary>
    [XjjXmmColunm(ColumnName = "CLIENT_CODE")]
    public string ClientCode { get; set; }

    /// <summary>
    /// 客户端CODE
    /// </summary>
    [XjjXmmColunm(ColumnName = "CREATE_TIME")]
    public DateTime CreateTime { get; set; }
}